Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

updated fork: redirect to old flow if ai sitegen is false #490

Merged
merged 11 commits into from
Feb 28, 2024

Conversation

girish-lokapure
Copy link
Contributor

No description provided.

@girish-lokapure girish-lokapure added the WIP PR is a Work in Progress and not ready for review. label Feb 27, 2024
@girish-lokapure girish-lokapure added Code Review The PR is in Code Review and removed WIP PR is a Work in Progress and not ready for review. labels Feb 27, 2024
@girish-lokapure girish-lokapure self-assigned this Feb 28, 2024
@@ -30,6 +30,7 @@ const StartOptions = ( { questionnaire, oldFlow, options } ) => {
if ( ! validateFlow( brandConfig, newFlow ) ) {
return false;
}
window.nfdOnboarding.currentBrand = brandConfig;
Copy link
Member

@arunshenoy99 arunshenoy99 Feb 28, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think it's safe to store brandConfig in the window object. Let's try FlowStateHandler like we discussed yesterday.

@officiallygod officiallygod merged commit 6cfcbde into trunk Feb 28, 2024
2 of 5 checks passed
@officiallygod officiallygod deleted the skip-fork-ai-disabled branch February 28, 2024 11:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Code Review The PR is in Code Review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants